package com.example.tree.service;

import com.example.common.domain.PageResult;
import com.example.tree.domain.dto.QueryIssueDTO;
import com.example.tree.domain.dto.TreeIssueDTO;
import com.example.tree.domain.dto.UpdateIssueDTO;
import com.example.tree.domain.vo.IssueReportsVO;

import java.util.List;

public interface TreeIssueService {
    /**
     * 添加古树问题信息
     *
     * @param treeIssueDTO
     */
    void addTreeIssueInfo(TreeIssueDTO treeIssueDTO);

    /**
     * 获取古树问题信息
     * @param queryIssueDTO 查询参数
     * @return
     */
    PageResult<IssueReportsVO> getTreeIssueInfo(QueryIssueDTO queryIssueDTO);

    /**
     * 删除古树问题信息
     * @param issueIds
     */
    void deleteTreeIssueInfo(Integer[] issueIds);

    /**
     * 修改古树问题信息
     * @param updateIssueDTO
     */
    void updateTreeIssueInfo(UpdateIssueDTO updateIssueDTO);

    List<IssueReportsVO> getUserReportIssue();
}
